package com.qsmx.store.app.main.system.adapter;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.ViewGroup;

import com.qsmx.store.app.R;
import com.qsmx.store.app.main.system.holder.SystemCoinAddAndCleanHolder;

public class SystemCoinAddAndCleanAdapter extends RecyclerView.Adapter<SystemCoinAddAndCleanHolder> {

    private Context mContext;

    public SystemCoinAddAndCleanAdapter(Context mContext) {
        this.mContext = mContext;
    }

    @NonNull
    @Override
    public SystemCoinAddAndCleanHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int i) {
        return new SystemCoinAddAndCleanHolder(LayoutInflater.from(mContext).inflate(R.layout.adapter_machine_info, viewGroup, false));
    }

    @Override
    public void onBindViewHolder(@NonNull SystemCoinAddAndCleanHolder systemCoinAddAndCleanHolder, int i) {

    }

    @Override
    public int getItemCount() {
        return 5;
    }
}
